package libs

import (
	htmpl "html/template"
	"time"
)

func TimeToDate(s time.Time) string {
	return s.Format("2006-01-02 15:04:05.999999999 -0700 MST")
}

func StrToHtml(raw string) htmpl.HTML {
	return htmpl.HTML(raw)
}
